Chris Pollett >
Old Classes
> |
HW#1 --- last modified January 01 1970 00:00:00..Due date: Feb 8
Files to be submitted: Purpose: To review our knowledge of Java and experiment with HTML and some of the classes in java.util Specification: For this assignment you will write a Java program CourseMaker.java. Its purpose is to generate any HTML document for a class syllabus based on data in a file given to it as a command line argument. It will be tested at a command prompt with a command like: java CourseMaker coursefile Here coursefile is the name of any file containing the following data: coursename professor office office hours prerequisite1:prerequisite2:prerequisite3:#endprereqs text grade component#1 percentage grade component#2 percentage . . . #end grade components topics paragraph An example file might look like: CS1234 Dr. Pollett MH214 MWF 13:30-1:30 CS1:CS2:CS3:CS5:#endprereqs Cool Graphics by Some Clever Guy HWs 10 Proj1 20 Proj2 20 Midterm 20 Final 30 #end grade components This semester we'll cover lots of cool stuff so you'll remember to give me good evaluations at the end. Your program will then output a file coursefile.html (or whatever the name of the input file +.php). This file should produce code that when one points one's browser to it looks something like:
The point breakdown below gives the elements that the code generated is required to have. Point Breakdown
|